package com.ap.core.jbehave.stories;

import java.util.Arrays;
import java.util.List;

import org.jbehave.core.steps.InjectableStepsFactory;
import org.jbehave.core.steps.InstanceStepsFactory;

import com.ap.core.jbehave.CommonStories;
import com.ap.core.jbehave.StoryContext;
import com.ap.core.jbehave.StoryContextClearer;
import com.ap.core.jbehave.submitrtp.SubmitRTPBRNDeliverySteps;

public class SubmitRTPBRNDelivery extends CommonStories {

	@Override
	public InjectableStepsFactory stepsFactory() {
		return new InstanceStepsFactory(configuration(),
				new SubmitRTPBRNDeliverySteps(new StoryContext()),
				new StoryContextClearer(storyContext()));
	}

	@Override
	protected List<String> storyPaths() {
		return Arrays.asList("stories/submit_rtp_brn_delivery.story");
	}

}
